/**
 * @file cbasewidget.h
 * @author shijb (shijb@guideir.com)
 * @brief
 * @version 0.1
 * @date 2025-04-23
 *
 * @copyright Copyright (c) 2025
 *
 */
#ifndef _C_BASE_WIDGET_H_
#define _C_BASE_WIDGET_H_
#include "forms_export.h"
#include <QWidget>

class FORMS_EXPORT CBaseWidget : public QWidget {
  Q_OBJECT
public:
  explicit CBaseWidget(QWidget *parent = nullptr);
  virtual ~CBaseWidget();

protected:
  /**
   * @brief  初始化控件
   *
   */
  void initWidget();
  void drawShadow(int radius);
  virtual void paintEvent(QPaintEvent *event);
};

#endif //! _C_BASE_WIDGET_H_
